//package com.lry.sso.auth.server.config;
//
//import com.lry.sso.auth.server.filter.RequestHandler;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
//
///**
// *
// *
// * @author 李瑞益
// * @date 2019/12/7
// */
//@Configuration
//public class WebConfig implements WebMvcConfigurer {
//
//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        //SpringMVC下，拦截器的注册需要排除对静态资源的拦截(*.css,*.js)
//        //SpringBoot已经做好了静态资源的映射，因此我们无需任何操作
//        registry.addInterceptor(new RequestHandler()).addPathPatterns("/**");
////        registry.addInterceptor(new ResponseHandler()).addPathPatterns("/**");
//    }
//}
